package com.gxa.order.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.gxa.common.base.RespResult;
import com.gxa.order.dto.ServiceOrderDTO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.Date;
import java.util.List;

/**
 * @author 33186
 * @description 针对表【service_order(服务订单表)】的数据库操作Mapper
 * @createDate 2023-04-10 13:58:44
 */
@Mapper
@Repository

public interface ServiceOrderMapper extends BaseMapper<ServiceOrderDTO> {

    Page<ServiceOrderDTO> selectAllServiceOrder(@Param("page") Page<ServiceOrderDTO> page);

    Page<ServiceOrderDTO> selectAllServiceOrderByCondition(@Param("page") Page<ServiceOrderDTO> page, @Param("condition") String condition);

    void replaceConsultant(@Param("consultant") String consultant , @Param("id") Integer id);


}




